package com.tarena.lbs.basic.web.mapper;


import com.tarena.lbs.pojo.basic.dos.UserTagsDO;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UserTagsMapper {
    int insert(UserTagsDO record);

    int batchInsertTags(List<UserTagsDO> list);

    int insertSelective(UserTagsDO record);

    UserTagsDO selectByPrimaryKey(Integer id);

    List<UserTagsDO> selectByUserId(Integer id);

    List<UserTagsDO> selectByTagIdList(@Param("idList") List<Integer> idList);

    int updateByPrimaryKeySelective(UserTagsDO record);

    int updateByPrimaryKey(UserTagsDO record);

    void deleteByUserId(Integer userId);
}